/*
 * Created on 2005-10-14
 *
 */
package com.yl.cap.analyst.work.domain;

import java.util.Date;
import java.util.List;
/**
 * @author ZhangQi
 *
 * @hibernate.class
 *  table="t_joblog"
 *  dynamic-update="true"
 */
public class JobLog
{
    private String id;
    private String tigerName;
    private Date beginTime;
    private Integer taskCount;
    private Integer completedCount;
    private Date endTime;
    private List taskLog;
    
    /**
     * @hibernate.property
     */
    public Date getBeginTime()
    {
        return beginTime;
    }
    /**
     * @param beginTime The beginTime to set.
     */
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }
    /**
     * @hibernate.property
     */
    public Date getEndTime()
    {
        return endTime;
    }
    /**
     * @param endTime The endTime to set.
     */
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }
    /**
     * @hibernate.id
     *  unsaved-value="null"
     *  generator-class="uuid.hex"
     * @return String
     */
    public String getId()
    {
        return id;
    }
    /**
     * @param id The id to set.
     */
    public void setId(String id)
    {
        this.id = id;
    }
    /**
     * @hibernate.property
     */
    public String getTigerName()
    {
        return tigerName;
    }
    /**
     * @param tigerName The jobName to set.
     */
    public void setTigerName(String tigerName)
    {
        this.tigerName = tigerName;
    }
    /**
     * @hibernate.property
     */
    public Integer getTaskCount()
    {
        return taskCount;
    }
    /**
     * @param taskCount The taskCount to set.
     */
    public void setTaskCount(Integer taskCount)
    {
        this.taskCount = taskCount;
    }
    /**
     * @hibernate.bag
     *  lazy="true"
     *  cascade="all"
     * @hibernate.collection-key
     *  column="JOB_ID"
     * @hibernate.collection-one-to-many
     *  class="com.yl.cap.analyst.work.domain.TaskLog"
     * @return List
     */
    public List getTaskLog()
    {
        return taskLog;
    }
    /**
     * @param taskLog The taskLog to set.
     */
    public void setTaskLog(List taskLog)
    {
        this.taskLog = taskLog;
    }
    /**
     * @hibernate.property
     */
    public Integer getCompletedCount()
    {
        return completedCount;
    }
    /**
     * @param completedCount The completedCount to set.
     */
    public void setCompletedCount(Integer completedCount)
    {
        this.completedCount = completedCount;
    }
}
